package com.zf.apartment.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zf.common.annotation.Excel;
import com.zf.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 房间管理对象 room
 *
 * @author ruoyi
 * @date 2024-09-27
 */
@TableName(resultMap = "com.zf.apartment.mapper.RoomMapper.RoomResult")
public class Room extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 房间ID
     */
    @TableId(value = "room_id", type = IdType.AUTO)
    private Long roomId;

    /**
     * 房间月租
     */
    @Excel(name = "房间月租")
    private String roomMonthRent;

    /**
     * 房间状态
     */
    @Excel(name = "房间状态")
    private String roomStatus;
    private String roomName;
    private String flatsName;
    private List<Flats> flatsList;
    private String roomImagePath;
    private List<PropertyRoomdata> propertyRoomdataList;
    private List<String> roomProperty;
    private String roomUseNo;
    private Long flatsId;
    private String roomSize;

    public String getRoomSize() {
        return roomSize;
    }

    public void setRoomSize(String roomSize) {
        this.roomSize = roomSize;
    }

    public Long getFlatsId() {
        return flatsId;
    }

    public void setFlatsId(Long flatsId) {
        this.flatsId = flatsId;
    }

    public String getRoomUseNo() {
        return roomUseNo;
    }

    public void setRoomUseNo(String roomUseNo) {
        this.roomUseNo = roomUseNo;
    }

    public List<PropertyRoomdata> getPropertyRoomdataList() {
        return propertyRoomdataList;
    }

    public void setPropertyRoomdataList(List<PropertyRoomdata> propertyRoomdataList) {
        this.propertyRoomdataList = propertyRoomdataList;
    }

    public List<String> getRoomProperty() {
        return roomProperty;
    }

    public void setRoomProperty(List<String> roomProperty) {
        this.roomProperty = roomProperty;
    }

    public String getRoomImagePath() {
        return roomImagePath;
    }

    public void setRoomImagePath(String roomImagePath) {
        this.roomImagePath = roomImagePath;
    }

    public List<Flats> getFlatsList() {
        return flatsList;
    }

    public void setFlatsList(List<Flats> flatsList) {
        this.flatsList = flatsList;
    }

    public String getFlatsName() {
        return flatsName;
    }

    public void setFlatsName(String flatsName) {
        this.flatsName = flatsName;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }

    public Long getRoomId() {
        return roomId;
    }

    public void setRoomMonthRent(String roomMonthRent) {
        this.roomMonthRent = roomMonthRent;
    }

    public String getRoomMonthRent() {
        return roomMonthRent;
    }

    public void setRoomStatus(String roomStatus) {
        this.roomStatus = roomStatus;
    }

    public String getRoomStatus() {
        return roomStatus;
    }

    @Override
    public String toString() {
        return "Room{" +
                "roomId=" + roomId +
                ", roomMonthRent='" + roomMonthRent + '\'' +
                ", roomStatus='" + roomStatus + '\'' +
                ", roomName='" + roomName + '\'' +
                ", flatsName='" + flatsName +
                '}';
    }
}